﻿using System.Collections.ObjectModel;
using Newtonsoft.Json;

namespace OpenNOSClient
{
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses")]
#if WINDOWS_PHONE
    public 
#endif
    class OpenNOSResponse
    {
        [JsonProperty(PropertyName = "latest_article")]
        public ReadOnlyCollection<ReadOnlyCollection<Article>> LatestArticles { get; set; }

        [JsonProperty(PropertyName = "latest_audio")]
        public ReadOnlyCollection<ReadOnlyCollection<Audio>> LatestAudio { get; set; }

        [JsonProperty(PropertyName = "latest_video")]
        public ReadOnlyCollection<ReadOnlyCollection<Video>> LatestVideo { get; set; }

        [JsonProperty(PropertyName = "search")]
        public ReadOnlyCollection<SearchResult> SearchResults { get; set; }

        [JsonProperty(PropertyName = "guide")]
        public ReadOnlyCollection<ReadOnlyCollection<GuideResult>> GuideResults { get; set; }
    }
}
